package com.punai.externalccb.mapper;

import java.util.List;
import com.punai.common.core.mapper.CommonMapper;
import com.punai.externalccb.domain.YdTime;
import org.apache.ibatis.annotations.Update;

/**
 * timeMapper接口
 *
 * @author tj
 * @date 2023-04-16
 */
public interface YdTimeMapper extends CommonMapper<YdTime>
{
    /**
     * 查询time
     *
     * @param id time主键
     * @return time
     */
    public YdTime selectYdTimeById(String id);

    /**
     * 查询time列表
     *
     * @param ydTime time
     * @return time集合
     */
    public List<YdTime> selectYdTimeList(YdTime ydTime);


    /**
     * 删除time
     *
     * @param id time主键
     * @return 结果
     */
    public int deleteYdTimeById(String id);

    /**
     * 批量删除time
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteYdTimeByIds(String[] ids);

    /**
     * 清空表数据
     */
    void truncateTable();
}
